#define _CRT_SECURE_NO_WARNINGS 1
#include"tree.h"
void Tree::creat()
{
	int ret = 0;
	cout << "是否要创建左孩子还是右孩子->0,1" << endl;
	cin >> ret;
	if (ret == 0)
	{
		cout << "取消创建" << endl;
		return;
	}
	cout << "请输入要保存的值" << endl;
	int x = 0;
	cin >> x;
	//push(x);
}